Add Openshift Virtualization FBC post-release tasks - #1
Open
Axuba wants to merge 92 commits into
Open
Conversation
Signed-off-by: Albert Jubany Juarez <ajubanyj@redhat.com>
Signed-off-by: Albert Jubany Juarez <ajubanyj@redhat.com>
Signed-off-by: Albert Jubany Juarez <ajubanyj@redhat.com>
added prNumber to the payload structure
added minorVersion for kargo to use
…teps, including snapshot data fetching, commit consistency checks, and improved error handling. Update Chart.yaml and values.yaml hydration processes, ensuring proper versioning and snapshot injection. Streamline git operations and OCI registry interactions for better clarity and reliability.
…ation. Adjust phase logging, update variable names for better context, and ensure correct handling of chart packaging and registry interactions. Enhance versioning in Chart.yaml and streamline OCI registry push process.
…clarity. Transform BUNDLE_VERSION format to enhance readability in Chart.yaml, ensuring consistent versioning with clearer semantics.
…ines - Introduced .gitignore to exclude cursor plans. - Added execution-layer-reference.mdc for resilient execution layer pattern guidelines. - Created tekton-pipelines.mdc outlining best practices for Tekton pipeline development, emphasizing resilient execution patterns and structured logging.
…or status logging. Replace arithmetic expressions with more explicit increment operations for better readability and maintainability.
…to enhance counter increment syntax for improved readability and maintainability.
… function for improved accessibility. Export necessary variables and the update_images_snapshots function to ensure proper execution in subshells.
…ance logging and error handling. Directly capture login output and status, improving visibility into the login process and ensuring better feedback on success or failure.
…rectly checking snapshot data. Enhance logging for validation actions and outcomes, ensuring clearer feedback on component revisions and error handling. Remove temporary snapshot file after processing.
…ton version push Replace non-deterministic `ls | head -1` glob with deterministic filename construction using CHART_VERSION. The glob selected the skeleton .tgz (0.0.0-skeleton) over the hydrated one due to alphabetical sorting. Also adds: - Defense-in-depth cleanup of stale .tgz after helm pull --untar - Post-hydration read-back verification of Chart.yaml version - Observability: success echo now includes actual pushed filename Co-authored-by: Cursor <cursoragent@cursor.com>
…ot validation Improve logging for snapshot validation actions and outcomes in the update-bundle pipeline. Ensure clearer feedback on component revisions and error handling, while also removing temporary snapshot files after processing for better resource management.
…n process Change the chart name from 'hco-bundle-registry-rhel9' to 'hco-bundle-registry' for consistency. Additionally, modify the hydration command for values.yaml to update the release plan suffix instead of the bundle release plan, streamlining the configuration process.
… files as part of repository cleanup
…ging Refine the chart name hydration process to derive the OS suffix from the bundle version, ensuring accurate naming for different OS versions. Update logging to reflect the hydrated chart name during the hydration process and improve error handling for verification steps. This change aims to streamline the chart packaging workflow and enhance clarity in the output logs.
…fecycle guidance Enhance documentation for Tekton pipelines by introducing sections on credential patterns for registry authentication and secret injection. Include detailed steps for the Helm OCI chart lifecycle, emphasizing the importance of proper chart hydration and cross-step data sharing. This update aims to improve clarity and best practices for users working with Tekton and Helm.
Save stripped Snapshot YAMLs per-Application during component builds, copy them into the Helm chart templates/ directory during hydration. Helm renders them verbatim into manifests.yaml alongside Release CRs. - Strip only ownerReferences (validated against KubeArchive restore) - Add velero.io/restore-name label to prevent Integration Service from re-processing restored Snapshots - Shared emptyDir volume for inter-step data transfer - Non-fatal on save failure (graceful degradation) CNV-80628 Made-with: Cursor
…tatus to Smartsheet This commit introduces a new Tekton task that reports the FBC catalog build status to Smartsheet. The task updates existing hco-bundle-registry L2 rows with relevant build information, including the FBC stage, production status, pipeline run name, and channel. It includes a resilient execution layer for observability and error handling, ensuring that the build process does not fail even if certain actions encounter issues.
Signed-off-by: Albert Jubany Juarez <ajubanyj@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.